package theDrunkenKiss.code.business.listeners;

import android.app.Activity;
import android.app.Dialog;
import android.location.Address;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ReadTheManualActionlistener implements OnClickListener {

	private Dialog dialog;
	private Window window;
	private Activity context;
	private Button manualCloseButton;
	
	public ReadTheManualActionlistener(Activity context){
		
		this.context = context;
	}
	
	@Override
	public void onClick(View v) {
		

		
		this.dialog = new Dialog(context);
		this.window = dialog.getWindow();
		this.window.setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
		this.dialog.setTitle("hier steht das Manual");
		this.manualCloseButton = new Button(context);
		this.dialog.show();
		
		
		
	}

}
